package org.scauinfo.fpos.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Resource entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "resource", catalog = "db_fpos")
public class Resource implements java.io.Serializable {

	// Fields

	private Integer id;
	private String resItem;

	// Constructors

	/** default constructor */
	public Resource() {
	}

	/** full constructor */
	public Resource(String resItem) {
		this.resItem = resItem;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "res_item")
	public String getResItem() {
		return this.resItem;
	}

	public void setResItem(String resItem) {
		this.resItem = resItem;
	}

}